3.983 \(\int \sqrt{\sec (c+d x)} (a+b \sec (c+d x)) (A+B \sec (c+d x)+C \sec ^2(c+d x)) \, dx\)

Optimal. Leaf size=192 \[ \frac{2 \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)} \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right ) (a (3 A+C)+b B)}{3 d}+\frac{2 \sin (c+d x) \sqrt{\sec (c+d x)} (5 a B+5 A b+3 b C)}{5 d}-\frac{2 \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)} E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) (5 a B+5 A b+3 b C)}{5 d}+\frac{2 (a C+b B) \sin (c+d x) \sec ^{\frac{3}{2}}(c+d x)}{3 d}+\frac{2 b C \sin (c+d x) \sec ^{\frac{5}{2}}(c+d x)}{5 d} \]

[Out]

(-2*(5*A*b + 5*a*B + 3*b*C)*Sqrt[Cos[c + d*x]]*EllipticE[(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/(5*d) + (2*(b*B +
 a*(3*A + C))*Sqrt[Cos[c + d*x]]*EllipticF[(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/(3*d) + (2*(5*A*b + 5*a*B + 3*b
*C)*Sqrt[Sec[c + d*x]]*Sin[c + d*x])/(5*d) + (2*(b*B + a*C)*Sec[c + d*x]^(3/2)*Sin[c + d*x])/(3*d) + (2*b*C*Se
c[c + d*x]^(5/2)*Sin[c + d*x])/(5*d)

________________________________________________________________________________________

Rubi [A]  time = 0.234659, antiderivative size = 192, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 7, integrand size = 41, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.171, Rules used = {4076, 4047, 3768, 3771, 2639, 4046, 2641} \[ \frac{2 \sin (c+d x) \sqrt{\sec (c+d x)} (5 a B+5 A b+3 b C)}{5 d}+\frac{2 \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right ) (a (3 A+C)+b B)}{3 d}-\frac{2 \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)} E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) (5 a B+5 A b+3 b C)}{5 d}+\frac{2 (a C+b B) \sin (c+d x) \sec ^{\frac{3}{2}}(c+d x)}{3 d}+\frac{2 b C \sin (c+d x) \sec ^{\frac{5}{2}}(c+d x)}{5 d} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[Sec[c + d*x]]*(a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2),x]

[Out]

(-2*(5*A*b + 5*a*B + 3*b*C)*Sqrt[Cos[c + d*x]]*EllipticE[(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/(5*d) + (2*(b*B +
 a*(3*A + C))*Sqrt[Cos[c + d*x]]*EllipticF[(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/(3*d) + (2*(5*A*b + 5*a*B + 3*b
*C)*Sqrt[Sec[c + d*x]]*Sin[c + d*x])/(5*d) + (2*(b*B + a*C)*Sec[c + d*x]^(3/2)*Sin[c + d*x])/(3*d) + (2*b*C*Se
c[c + d*x]^(5/2)*Sin[c + d*x])/(5*d)

Rule 4076

Int[((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))*(csc[(e_.) + (f_.)*(x_)]*(d_.))^
(n_.)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)), x_Symbol] :> -Simp[(b*C*Csc[e + f*x]*Cot[e + f*x]*(d*Csc[e + f*x
])^n)/(f*(n + 2)), x] + Dist[1/(n + 2), Int[(d*Csc[e + f*x])^n*Simp[A*a*(n + 2) + (B*a*(n + 2) + b*(C*(n + 1)
+ A*(n + 2)))*Csc[e + f*x] + (a*C + B*b)*(n + 2)*Csc[e + f*x]^2, x], x], x] /; FreeQ[{a, b, d, e, f, A, B, C,
n}, x] &&  !LtQ[n, -1]

Rule 4047

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(
C_.)), x_Symbol] :> Dist[B/b, Int[(b*Csc[e + f*x])^(m + 1), x], x] + Int[(b*Csc[e + f*x])^m*(A + C*Csc[e + f*x
]^2), x] /; FreeQ[{b, e, f, A, B, C, m}, x]

Rule 3768

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> -Simp[(b*Cos[c + d*x]*(b*Csc[c + d*x])^(n - 1))/(d*(n -
 1)), x] + Dist[(b^2*(n - 2))/(n - 1), Int[(b*Csc[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1
] && IntegerQ[2*n]

Rule 3771

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[(b*Csc[c + d*x])^n*Sin[c + d*x]^n, Int[1/Sin[c + d
*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rule 4046

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*(csc[(e_.) + (f_.)*(x_)]^2*(C_.) + (A_)), x_Symbol] :> -Simp[(C*Cot[
e + f*x]*(b*Csc[e + f*x])^m)/(f*(m + 1)), x] + Dist[(C*m + A*(m + 1))/(m + 1), Int[(b*Csc[e + f*x])^m, x], x]
/; FreeQ[{b, e, f, A, C, m}, x] && NeQ[C*m + A*(m + 1), 0] &&  !LeQ[m, -1]

Rule 2641

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ
[{c, d}, x]

Rubi steps

\begin{align*} \int \sqrt{\sec (c+d x)} (a+b \sec (c+d x)) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx &=\frac{2 b C \sec ^{\frac{5}{2}}(c+d x) \sin (c+d x)}{5 d}+\frac{2}{5} \int \sqrt{\sec (c+d x)} \left (\frac{5 a A}{2}+\frac{1}{2} (5 A b+5 a B+3 b C) \sec (c+d x)+\frac{5}{2} (b B+a C) \sec ^2(c+d x)\right ) \, dx\\ &=\frac{2 b C \sec ^{\frac{5}{2}}(c+d x) \sin (c+d x)}{5 d}+\frac{2}{5} \int \sqrt{\sec (c+d x)} \left (\frac{5 a A}{2}+\frac{5}{2} (b B+a C) \sec ^2(c+d x)\right ) \, dx+\frac{1}{5} (5 A b+5 a B+3 b C) \int \sec ^{\frac{3}{2}}(c+d x) \, dx\\ &=\frac{2 (5 A b+5 a B+3 b C) \sqrt{\sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 (b B+a C) \sec ^{\frac{3}{2}}(c+d x) \sin (c+d x)}{3 d}+\frac{2 b C \sec ^{\frac{5}{2}}(c+d x) \sin (c+d x)}{5 d}+\frac{1}{5} (-5 A b-5 a B-3 b C) \int \frac{1}{\sqrt{\sec (c+d x)}} \, dx+\frac{1}{3} (b B+a (3 A+C)) \int \sqrt{\sec (c+d x)} \, dx\\ &=\frac{2 (5 A b+5 a B+3 b C) \sqrt{\sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 (b B+a C) \sec ^{\frac{3}{2}}(c+d x) \sin (c+d x)}{3 d}+\frac{2 b C \sec ^{\frac{5}{2}}(c+d x) \sin (c+d x)}{5 d}+\frac{1}{5} \left ((-5 A b-5 a B-3 b C) \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \sqrt{\cos (c+d x)} \, dx+\frac{1}{3} \left ((b B+a (3 A+C)) \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{1}{\sqrt{\cos (c+d x)}} \, dx\\ &=-\frac{2 (5 A b+5 a B+3 b C) \sqrt{\cos (c+d x)} E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{\sec (c+d x)}}{5 d}+\frac{2 (b B+a (3 A+C)) \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{\sec (c+d x)}}{3 d}+\frac{2 (5 A b+5 a B+3 b C) \sqrt{\sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 (b B+a C) \sec ^{\frac{3}{2}}(c+d x) \sin (c+d x)}{3 d}+\frac{2 b C \sec ^{\frac{5}{2}}(c+d x) \sin (c+d x)}{5 d}\\ \end{align*}

Mathematica [C]  time = 7.0227, size = 1140, normalized size = 5.94 \[ \frac{4 a A \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right ) \sqrt{\sec (c+d x)} (a+b \sec (c+d x)) \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right ) \cos ^{\frac{7}{2}}(c+d x)}{d (b+a \cos (c+d x)) (\cos (2 c+2 d x) A+A+2 C+2 B \cos (c+d x))}+\frac{4 b B \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right ) \sqrt{\sec (c+d x)} (a+b \sec (c+d x)) \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right ) \cos ^{\frac{7}{2}}(c+d x)}{3 d (b+a \cos (c+d x)) (\cos (2 c+2 d x) A+A+2 C+2 B \cos (c+d x))}+\frac{4 a C \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right ) \sqrt{\sec (c+d x)} (a+b \sec (c+d x)) \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right ) \cos ^{\frac{7}{2}}(c+d x)}{3 d (b+a \cos (c+d x)) (\cos (2 c+2 d x) A+A+2 C+2 B \cos (c+d x))}+\frac{2 \sqrt{2} A b e^{-i d x} \sqrt{\frac{e^{i (c+d x)}}{1+e^{2 i (c+d x)}}} \sqrt{1+e^{2 i (c+d x)}} \csc (c) \left (e^{2 i d x} \left (-1+e^{2 i c}\right ) \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{3}{4},\frac{7}{4},-e^{2 i (c+d x)}\right )-3 \sqrt{1+e^{2 i (c+d x)}}\right ) (a+b \sec (c+d x)) \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right ) \cos ^3(c+d x)}{3 d (b+a \cos (c+d x)) (\cos (2 c+2 d x) A+A+2 C+2 B \cos (c+d x))}+\frac{2 \sqrt{2} a B e^{-i d x} \sqrt{\frac{e^{i (c+d x)}}{1+e^{2 i (c+d x)}}} \sqrt{1+e^{2 i (c+d x)}} \csc (c) \left (e^{2 i d x} \left (-1+e^{2 i c}\right ) \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{3}{4},\frac{7}{4},-e^{2 i (c+d x)}\right )-3 \sqrt{1+e^{2 i (c+d x)}}\right ) (a+b \sec (c+d x)) \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right ) \cos ^3(c+d x)}{3 d (b+a \cos (c+d x)) (\cos (2 c+2 d x) A+A+2 C+2 B \cos (c+d x))}+\frac{2 \sqrt{2} b C e^{-i d x} \sqrt{\frac{e^{i (c+d x)}}{1+e^{2 i (c+d x)}}} \sqrt{1+e^{2 i (c+d x)}} \csc (c) \left (e^{2 i d x} \left (-1+e^{2 i c}\right ) \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{3}{4},\frac{7}{4},-e^{2 i (c+d x)}\right )-3 \sqrt{1+e^{2 i (c+d x)}}\right ) (a+b \sec (c+d x)) \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right ) \cos ^3(c+d x)}{5 d (b+a \cos (c+d x)) (\cos (2 c+2 d x) A+A+2 C+2 B \cos (c+d x))}+\frac{(a+b \sec (c+d x)) \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right ) \left (\frac{4 b C \sec (c) \sin (d x) \sec ^2(c+d x)}{5 d}+\frac{4 \sec (c) (3 b C \sin (c)+5 b B \sin (d x)+5 a C \sin (d x)) \sec (c+d x)}{15 d}+\frac{4 (5 A b+3 C b+5 a B) \cos (d x) \csc (c)}{5 d}+\frac{4 (b B+a C) \tan (c)}{3 d}\right )}{(b+a \cos (c+d x)) (\cos (2 c+2 d x) A+A+2 C+2 B \cos (c+d x)) \sec ^{\frac{5}{2}}(c+d x)} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Sqrt[Sec[c + d*x]]*(a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2),x]

[Out]

(2*Sqrt[2]*A*b*Sqrt[E^(I*(c + d*x))/(1 + E^((2*I)*(c + d*x)))]*Sqrt[1 + E^((2*I)*(c + d*x))]*Cos[c + d*x]^3*Cs
c[c]*(-3*Sqrt[1 + E^((2*I)*(c + d*x))] + E^((2*I)*d*x)*(-1 + E^((2*I)*c))*Hypergeometric2F1[1/2, 3/4, 7/4, -E^
((2*I)*(c + d*x))])*(a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/(3*d*E^(I*d*x)*(b + a*Cos[c
+ d*x])*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])) + (2*Sqrt[2]*a*B*Sqrt[E^(I*(c + d*x))/(1 + E^((2*I)
*(c + d*x)))]*Sqrt[1 + E^((2*I)*(c + d*x))]*Cos[c + d*x]^3*Csc[c]*(-3*Sqrt[1 + E^((2*I)*(c + d*x))] + E^((2*I)
*d*x)*(-1 + E^((2*I)*c))*Hypergeometric2F1[1/2, 3/4, 7/4, -E^((2*I)*(c + d*x))])*(a + b*Sec[c + d*x])*(A + B*S
ec[c + d*x] + C*Sec[c + d*x]^2))/(3*d*E^(I*d*x)*(b + a*Cos[c + d*x])*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c +
 2*d*x])) + (2*Sqrt[2]*b*C*Sqrt[E^(I*(c + d*x))/(1 + E^((2*I)*(c + d*x)))]*Sqrt[1 + E^((2*I)*(c + d*x))]*Cos[c
 + d*x]^3*Csc[c]*(-3*Sqrt[1 + E^((2*I)*(c + d*x))] + E^((2*I)*d*x)*(-1 + E^((2*I)*c))*Hypergeometric2F1[1/2, 3
/4, 7/4, -E^((2*I)*(c + d*x))])*(a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/(5*d*E^(I*d*x)*(
b + a*Cos[c + d*x])*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])) + (4*a*A*Cos[c + d*x]^(7/2)*EllipticF[(
c + d*x)/2, 2]*Sqrt[Sec[c + d*x]]*(a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/(d*(b + a*Cos[
c + d*x])*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])) + (4*b*B*Cos[c + d*x]^(7/2)*EllipticF[(c + d*x)/2
, 2]*Sqrt[Sec[c + d*x]]*(a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/(3*d*(b + a*Cos[c + d*x]
)*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])) + (4*a*C*Cos[c + d*x]^(7/2)*EllipticF[(c + d*x)/2, 2]*Sqr
t[Sec[c + d*x]]*(a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/(3*d*(b + a*Cos[c + d*x])*(A + 2
*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])) + ((a + b*Sec[c + d*x])*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2)*(
(4*(5*A*b + 5*a*B + 3*b*C)*Cos[d*x]*Csc[c])/(5*d) + (4*b*C*Sec[c]*Sec[c + d*x]^2*Sin[d*x])/(5*d) + (4*Sec[c]*S
ec[c + d*x]*(3*b*C*Sin[c] + 5*b*B*Sin[d*x] + 5*a*C*Sin[d*x]))/(15*d) + (4*(b*B + a*C)*Tan[c])/(3*d)))/((b + a*
Cos[c + d*x])*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])*Sec[c + d*x]^(5/2))

________________________________________________________________________________________

Maple [B]  time = 6.992, size = 742, normalized size = 3.9 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(d*x+c)^(1/2)*(a+b*sec(d*x+c))*(A+B*sec(d*x+c)+C*sec(d*x+c)^2),x)

[Out]

-(-(-2*cos(1/2*d*x+1/2*c)^2+1)*sin(1/2*d*x+1/2*c)^2)^(1/2)*(2*A*a*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x
+1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticF(cos(1/2*d*x+1/2*c),2^(1/2))+
2*(B*b+C*a)*(-1/6*cos(1/2*d*x+1/2*c)*(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)/(cos(1/2*d*x+1/2*c)^
2-1/2)^2+1/3*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d
*x+1/2*c)^2)^(1/2)*EllipticF(cos(1/2*d*x+1/2*c),2^(1/2)))-2/5*C*b/(8*sin(1/2*d*x+1/2*c)^6-12*sin(1/2*d*x+1/2*c
)^4+6*sin(1/2*d*x+1/2*c)^2-1)/sin(1/2*d*x+1/2*c)^2*(12*(2*sin(1/2*d*x+1/2*c)^2-1)^(1/2)*EllipticE(cos(1/2*d*x+
1/2*c),2^(1/2))*(sin(1/2*d*x+1/2*c)^2)^(1/2)*sin(1/2*d*x+1/2*c)^4-24*sin(1/2*d*x+1/2*c)^6*cos(1/2*d*x+1/2*c)-1
2*(2*sin(1/2*d*x+1/2*c)^2-1)^(1/2)*EllipticE(cos(1/2*d*x+1/2*c),2^(1/2))*(sin(1/2*d*x+1/2*c)^2)^(1/2)*sin(1/2*
d*x+1/2*c)^2+24*sin(1/2*d*x+1/2*c)^4*cos(1/2*d*x+1/2*c)+3*(2*sin(1/2*d*x+1/2*c)^2-1)^(1/2)*EllipticE(cos(1/2*d
*x+1/2*c),2^(1/2))*(sin(1/2*d*x+1/2*c)^2)^(1/2)-8*sin(1/2*d*x+1/2*c)^2*cos(1/2*d*x+1/2*c))*(-2*sin(1/2*d*x+1/2
*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)+2*(A*b+B*a)*(-(sin(1/2*d*x+1/2*c)^2)^(1/2)*(2*sin(1/2*d*x+1/2*c)^2-1)^(1/2)*
(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticE(cos(1/2*d*x+1/2*c),2^(1/2))+2*(-2*sin(1/2*d*x+1
/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*cos(1/2*d*x+1/2*c)*sin(1/2*d*x+1/2*c)^2)/sin(1/2*d*x+1/2*c)^2/(2*sin(1/2*d
*x+1/2*c)^2-1))/sin(1/2*d*x+1/2*c)/(2*cos(1/2*d*x+1/2*c)^2-1)^(1/2)/d

________________________________________________________________________________________

Maxima [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)^(1/2)*(a+b*sec(d*x+c))*(A+B*sec(d*x+c)+C*sec(d*x+c)^2),x, algorithm="maxima")

[Out]

Timed out

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (C b \sec \left (d x + c\right )^{3} +{\left (C a + B b\right )} \sec \left (d x + c\right )^{2} + A a +{\left (B a + A b\right )} \sec \left (d x + c\right )\right )} \sqrt{\sec \left (d x + c\right )}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)^(1/2)*(a+b*sec(d*x+c))*(A+B*sec(d*x+c)+C*sec(d*x+c)^2),x, algorithm="fricas")

[Out]

integral((C*b*sec(d*x + c)^3 + (C*a + B*b)*sec(d*x + c)^2 + A*a + (B*a + A*b)*sec(d*x + c))*sqrt(sec(d*x + c))
, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)**(1/2)*(a+b*sec(d*x+c))*(A+B*sec(d*x+c)+C*sec(d*x+c)**2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )}{\left (b \sec \left (d x + c\right ) + a\right )} \sqrt{\sec \left (d x + c\right )}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)^(1/2)*(a+b*sec(d*x+c))*(A+B*sec(d*x+c)+C*sec(d*x+c)^2),x, algorithm="giac")

[Out]

integrate((C*sec(d*x + c)^2 + B*sec(d*x + c) + A)*(b*sec(d*x + c) + a)*sqrt(sec(d*x + c)), x)